﻿@namespace MduiBlazor
@inherits MduiComponentBase

<div class="@Classname" style="@Style" @attributes="@AdditionalAttributes">
    <button Class="@FabBtnClassname" @onclick="@OnFabClicked" @onblur="@OnBlur">
        <div class="mdui-fab-icon">
            @if (IconContent is not null)
            {
                @IconContent
            }
            else
            {
                <MduiIcon Icon="@Icon" />
            }
        </div>
        <div class="mdui-fab-icon mdui-fab-opened">
            @if (OpenedIconContent is not null)
            {
                @OpenedIconContent
            }
            else
            {
                <MduiIcon Icon="@_openedIcon" />
            }
        </div>
    </button>
    <div class="@DialClassname" style="@DialStylelist">
        @ChildContent
    </div>
</div>
